package cn.stylefeng.guns.sys.modular.tao.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 分类管理表
 * </p>
 *
 * @author 
 * @since 2019-09-02
 */
@TableName("zt_classification")
public class Classification implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 分类序号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 分类名称
     */
    @TableField("name")
    private String name;

    /**
     * 分类签序号
     */
    @TableField("parent_code")
    private Integer parentCode;

    /**
     * 分类等级
     */
    @TableField("level")
    private Integer level;

    /**
     * 分类log地址
     */
    @TableField("log_path")
    private String logPath;

    /**
     * 背景图片
     */
    @TableField("bg_path")
    private String bgPath;

    /**
     * 商品编码
     */
    @TableField("usercode")
    private String usercode;

    /**
     * 商品名称
     */
    @TableField("fullname")
    private String fullname;

    @TableField("ids")
    private String ids;

    public String getIds() {
        return ids;
    }

    public void setIds(String ids) {
        this.ids = ids;
    }

    public String getUsercode() {
        return usercode;
    }

    public void setUsercode(String usercode) {
        this.usercode = usercode;
    }

    public String getFullname() {
        return fullname;
    }

    public void setFullname(String fullname) {
        this.fullname = fullname;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getParentCode() {
        return parentCode;
    }

    public void setParentCode(Integer parentCode) {
        this.parentCode = parentCode;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getLogPath() {
        return logPath;
    }

    public void setLogPath(String logPath) {
        this.logPath = logPath;
    }

    public String getBgPath() {
        return bgPath;
    }

    public void setBgPath(String bgPath) {
        this.bgPath = bgPath;
    }

    @Override
    public String toString() {
        return "Classification{" +
        "id=" + id +
        ", name=" + name +
        ", parentCode=" + parentCode +
        ", level=" + level +
        ", logPath=" + logPath +
        ", bgPath=" + bgPath +
        "}";
    }
}
